package com.rojored.controls.progressDisplayClasses 
{

/**
 *  Contract for components that display buffer progress.
 *  
 *  @author gabriel montagné láscaris-comneno gabriel@rojored.com 
 */
public interface IBufferProgressDisplay 
{

    //--------------------------------------------------------------------------
    //
    //  Properties
    //
    //--------------------------------------------------------------------------

    //--------------------------------------
    //  bytesLoaded 
    //--------------------------------------

    /**
     *  The number of bytes that are loaded for the media file.
     */
    function get bytesLoaded():Number;

    /**
     *  @private
     */
    function set bytesLoaded(value:Number):void;

    //--------------------------------------
    //  bytesTotal 
    //--------------------------------------

    /**
     *  The number of bytes in the entire media file.
     */
    function get bytesTotal():Number;

    /**
     *  @private
     */
    function set bytesTotal(value:Number):void;

}
}
